package Model;

public class Owner {

    private String ownerName;
    private String ownerAddress;
    private int ownerPhone;

    public Owner(String ownerName, String ownerAddress, int ownerPhone) {
        this.ownerName = ownerName;
        this.ownerAddress = ownerAddress;
        this.ownerPhone = ownerPhone;
    }

    public String getOwnerName() {
        return ownerName;
    }

    public void setOwnerName(String ownerName) {
        this.ownerName = ownerName;
    }

    public String getOwnerAddress() {
        return ownerAddress;
    }

    public void setOwnerAddress(String ownerAddress) {
        this.ownerAddress = ownerAddress;
    }

    public int getOwnerPhone() {
        return ownerPhone;
    }

    public void setOwnerPhone(int ownerPhone) {
        this.ownerPhone = ownerPhone;
    }

    public void printOwner(){
        System.out.println("Name : " + getOwnerName());
        System.out.println("Address : " + getOwnerAddress());
        System.out.println("Phone : " + getOwnerPhone());
    }
}
